package com.bloveoacom.weichi.adapter;

import android.support.annotation.Nullable;
import android.widget.TextView;

import com.bloveoacom.util.DisplayUtil;
import com.bloveoacom.weichi.R;
import com.bloveoacom.weichi.bean.ItemOptionBean;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * author: yjl
 * e-mail: 1271901673@qq.com
 * time  : 2018/9/20
 * desc  :
 */
public class MyBaseAdapter extends BaseQuickAdapter<ItemOptionBean,BaseViewHolder> {
    public MyBaseAdapter(int layoutResId, @Nullable List<ItemOptionBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, com.bloveoacom.weichi.bean.ItemOptionBean item) {
        helper.setText(R.id.tv_item_start,item.startData);
    }
}
